package lhy.orm;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

import java.io.Serializable;

public class Serializer {
    public static final Gson GSON = new GsonBuilder().setDateFormat("yyyy-MM-dd").create();;
    public static String doSerialize(Serializable obj) {
        return GSON.toJson(obj);
    }
}
